<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head th:replace="~{OP/_fragments ::head(~{::title})}">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>分类管理</title>
    <!--    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">-->
    <link rel="stylesheet" href="../../static/css/index.css">
    <link rel="stylesheet" href="../../static/Semantic-UI/semantic.css">
    <link rel="stylesheet" href="../../static/Semantic-UI/semantic.css">
</head>
<body>

<!--导航-->
<nav th:replace="~{OP/_fragments ::menu(0)}" class="ui  inverted attached segment m-padded-tb-mini m-shadow-small">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui red header item">后台管理</h2>
            <a href="#" class="m-item item m-mobile-hide"><i class="small home icon"></i>博客</a>
            <a href="#" class="m-item item m-mobile-hide" ><i class="small idea icon"></i>分类</a>
            <a href="#" class=" m-item item m-mobile-hide"><i class="small tags icon"></i>标签</a>
            <div class="right m-item item m-mobile-hide menu">
                <div class=" ui  dropdown item">
                    <div class="text"><img src="../../static/images/shana1.jpg" class="ui avatar image">
                        贽殿遮那
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <a href="" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>


<div class="ui attached pointing menu">

    <div class="ui container">
        <div class="right menu">
            <a href="" class="item">发表</a>
            <a href="" class="red active item ">列表</a>
        </div>
    </div>
</div>


<div class="m-container-small m-padded-tb-big">
    <div class="ui container">

        <table class="ui celled table">
            <thead>
            <tr>
                <th></th>
                <th>名称</th>
                <th>操作</th>

            </tr>
            </thead>
            <tbody>
            <tr>
                <td>1</td>
                <td>玩原审挽的</td>
                <td>
                    <a href="" class="ui mini teal button basic">编辑</a>
                    <a href="" class="ui mini red button basic">删除</a>
                </td>

            </tr>


            </tbody>

            <tfoot>
            <tr>
                <th colspan="6">
                    <div class="ui mini right floated pagination menu">
                        <!--                            <a class="icon item">-->
                        <!--                                <i class="left chevron icon"></i>-->
                        <!--                            </a>-->
                        <!--                            <a class="item">1</a>-->
                        <!--                            <a class="item">2</a>-->
                        <!--                            <a class="item">3</a>-->
                        <!--                            <a class="item">4</a>-->
                        <!--                            <a class="icon item">-->
                        <!--                                 <i href="" class="right chevron icon"></i>-->
                        <!--                            </a>-->

                        <a class="class item">上一页</a>
                        <a class="class item">下一页</a>
                    </div>
                    <a href="#" class="ui mini left floated black basic button">新增</a>
                </th>
            </tr>
            </tfoot>
        </table>
    </div>
</div>






<script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>

<script>
    $('.menu.toggle').click(function (){
        $('.m-item').toggleClass('m-mobile-hide');
    });

    $('.ui.dropdown')
        .dropdown();

</script>

</body>
</html>